﻿using System;
using System.ComponentModel.DataAnnotations;

namespace TaoNiuOA.Models
{
    /// <summary>
    /// 工资实体
    /// </summary>
    public class Salary
    {
        [Key]
        public int SalaryID { get; set; }

        [Display(Name = "用户id")]
        public int UserID { get; set; }

        [Display(Name = "工资月份")]
        public string PayMonth { get; set; }

        [Display(Name = "应得工资")]
        public double TotalSalary { get; set; }

        [Display(Name = "缺勤扣除工资")]
        public double LackSalary { get; set; }

        [Display(Name = "实得工资")]
        public double PaySalary { get; set; }
    }
}